package com.example.demo.feignclient;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "baidu", url = "https://www.baidu.com/")
public interface TestBaiduFeignClient {

    @GetMapping(value = "/baidu")
    String getIndex();
}
